home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / bmenu54.arc / EXAMPLE4.BAT < prev    next >
DOS Batch File  |  1990-02-12  |  578b  |  34 lines

  1. echo off
  2. REM
  3. REM  Example batch file for BMENU 5.0 using '@file' input
  4. REM
  5. echo Multi-menu @file example, with user defined colors
  6. echo 
  7. echo Menu is found after $defined in input.fil
  8. echo 
  9. echo usage: bmenu @input.fil defined
  10. echo 
  11. bmenu @input.fil defined
  12. for %%1 in (0 1 2 3 4 5 6) do if errorlevel %%1 goto %%1
  13. :6
  14. echo You chose ZIP-to-LZH
  15. done
  16. :5
  17. echo You chose PAK-to-LZH
  18. done
  19. :4
  20. echo you chose ARC-to-LZH
  21. done
  22. :3
  23. echo you chose PAK-to-ZIP
  24. done
  25. :2
  26. echo you chose ARC-to-PAK
  27. done
  28. :1
  29. echo You chose ARC-to-ZIP
  30. done
  31. :0
  32. echo User hit ESC
  33.  
  34.